class DeviceInfo {
  final String? manufacturerName;
  final String? hardwareRevision;
  final String? firmwareRevision;

  DeviceInfo(
      {required this.manufacturerName,
      required this.hardwareRevision,
      required this.firmwareRevision});

  DeviceInfo copyWith({
    String? manufacturerName,
    String? hardwareRevision,
    String? firmwareRevision,
  }) {
    return DeviceInfo(
      manufacturerName: manufacturerName ?? this.manufacturerName,
      hardwareRevision: hardwareRevision ?? this.hardwareRevision,
      firmwareRevision: firmwareRevision ?? this.firmwareRevision,
    );
  }
}
